using UnityEngine;
using System.Collections;

public class Menu : MonoBehaviour {

    void OnGUI()
    {
        if (GUI.Button(new Rect(100, (Screen.height / 2) - 160, Screen.width - 200, 100), "Level 1"))
        {
            Application.LoadLevel("Level1");
        }
        if (GUI.Button(new Rect(100, (Screen.height / 2) - 50, Screen.width - 200, 100), "Level 2"))
        {
            Application.LoadLevel("Level2");
        }
        if (GUI.Button(new Rect(100, (Screen.height / 2) + 60, Screen.width - 200, 100), "Quit"))
        {
            Application.Quit();
        }
    }
}
